﻿@using CuongHanh.Configuration
@using CuongHanh.Context
@using CuongHanh.Models
@model CuongHanh.Models.NotMapDB.CustomerLogin
@{
    Layout = "../Shared/_GemLayout.cshtml";
    ViewBag.Title = "Đăng nhập";
}


<div class="content">
    <div class="block account">
        <p class="title">@Html.GetResource("signin")</p>
        @using (Html.BeginForm("Login",
                "Customer",
                FormMethod.Post))
        {
            @Html.AntiForgeryToken()
            <div class="form login">
                <div class="field">
                    @Html.LabelFor(c => c.Username,
                            Html.GetResource("username"),
                            new
                            {
                                    @class = "field_L"
                            })
                    @Html.TextBoxFor(c => c.Username)
                </div>
                <div class="field">
                    @Html.LabelFor(c => c.Password,
                            Html.GetResource("password"),
                            new
                            {
                                    @class = "field_L"
                            })
                    @Html.PasswordFor(c => c.Password)
                </div>

                <div class="field_btn">
                    <input class="btn_blue" type="submit" value="@Html.GetResource("signin")" style="margin-left: 30px;" />
                </div>
               @* <p class="btn_link"><a href="@UrlManager.GetLinkByUrl(LinkConfig.QUEN_MAT_KHAU)">@Html.GetResource("forgotpassword")</a></p>*@
            </div>
        }
    </div>
    <div class="block account">
        <p class="title">Account Benefits</p>
        <div class="block_co">
            <p>Enjoy these perks with your free account!</p>
            <ul>
                <li>Check out faster</li>
                <li>Save multiple shipping addresses</li>
                <li>Access your order history</li>
                <li>Track new orders</li>
                <li>Save items to your wish list</li>
            </ul>
            <p class="field_btn"><input class="btn_orange" type="submit" value="CREATE ACCOUNT" /></p>
        </div>  </div>
</div>